home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus 2000 #4
/
Amiga Plus CD - 2000 - No. 4.iso
/
Tools
/
Dev
/
powerd
/
lib
/
powerd_lib.lha
/
PowerD
/
Colour.ass
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1999-06-23
|
298 b
|
21 lines
; d0 - apen
; d1 - bpen
xdef _Colour
_Colour move.l d0,coloura
tst.l _stdrast
beq.s .exit
move.l _stdrast,a1
move.l _GfxBase,a6
move.l d1,-(a7)
jsr -342(a6) ; SetAPen()
move.l _stdrast,a1
move.l (a7)+,d0
jsr -348(a6) ; SetBPen()
.exit rts
xref _GfxBase
xref _stdrast
xref coloura